<template>
  <view>
    <web-view :src="showUrl"></web-view>
  </view>
</template>

<script setup>
import { ref } from 'vue'
import { onLoad, onShareAppMessage } from '@dcloudio/uni-app'
import { urlGet } from '@/utils/utils'
const showUrl = ref('')
onLoad((options) => {
  const _url = decodeURIComponent(decodeURIComponent(options.url))
  uni.setNavigationBarTitle({
    title: urlGet('title', _url) || ' '
  })
  showUrl.value = _url
})
onShareAppMessage(() => {})
</script>

<style scoped lang="scss">

</style>
